package thread;

/**
 * @Author pedant
 * @Date 2019/8/30 15:31
 * @Description 创建线程的方式
 */
public class RunnableTest implements Runnable {
    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName()+"线程启动");
    }

    public static void main(String[] args) {
        new Thread(new RunnableTest(),"实现").start();
    }
}
